projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32aa7f0
)
filechooserbutton: Update the button/combo at construction time
author
Federico Mena Quintero
<federico@gnome.org>
Thu, 7 Mar 2013 19:50:34 +0000
(13:50 -0600)
committer
Federico Mena Quintero
<federico@gnome.org>
Fri, 8 Mar 2013 02:45:58 +0000
(20:45 -0600)
This way the internal labels will show the correct selection even if nothing
has been selected programmatically.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserbutton.c
b/gtk/gtkfilechooserbutton.c
index 1bea89bca77683977774ba5eb82fe7a79419a382..ec5449fede08ac7af1e7dddc145ac705cc904814 100644
(file)
--- a/
gtk/gtkfilechooserbutton.c
+++ b/
gtk/gtkfilechooserbutton.c
@@
-946,6
+946,9
@@
gtk_file_chooser_button_constructor (GType type,
g_signal_connect (priv->fs, "bookmarks-changed",
G_CALLBACK (fs_bookmarks_changed_cb), object);
+ update_label_and_image (button);
+ update_combo_box (button);
+
return object;
}